CannedMessageConfigOrBuilder

interface CannedMessageConfigOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getAllowInputSource(): String

Input event origin accepted by the canned message module.
Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
string allow_input_source = 10 [deprecated = true];
Link copied to clipboard
abstract fun getAllowInputSourceBytes(): ByteString

Input event origin accepted by the canned message module.
Can be e.g. "rotEnc1", "upDownEnc1", "scanAndSelect", "cardkb", "serialkb", or keyword "_any"
string allow_input_source = 10 [deprecated = true];
Link copied to clipboard
abstract fun getEnabled(): Boolean

Enable/disable CannedMessageModule.
bool enabled = 9 [deprecated = true];
Link copied to clipboard

Generate input event on CCW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_ccw = 6;
Link copied to clipboard

Generate input event on CCW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_ccw = 6;
Link copied to clipboard

Generate input event on CW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_cw = 5;
Link copied to clipboard

Generate input event on CW of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_cw = 5;
Link copied to clipboard

Generate input event on Press of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_press = 7;
Link copied to clipboard

Generate input event on Press of this kind.
.meshtastic.ModuleConfig.CannedMessageConfig.InputEventChar inputbroker_event_press = 7;
Link copied to clipboard
abstract fun getInputbrokerPinA(): Int

GPIO pin for rotary encoder A port.
uint32 inputbroker_pin_a = 2;
Link copied to clipboard
abstract fun getInputbrokerPinB(): Int

GPIO pin for rotary encoder B port.
uint32 inputbroker_pin_b = 3;
Link copied to clipboard
abstract fun getInputbrokerPinPress(): Int

GPIO pin for rotary encoder Press port.
uint32 inputbroker_pin_press = 4;
Link copied to clipboard
abstract fun getRotary1Enabled(): Boolean

Enable the rotary encoder #1. This is a 'dumb' encoder sending pulses on both A and B pins while rotating.
bool rotary1_enabled = 1;
Link copied to clipboard
abstract fun getSendBell(): Boolean

CannedMessageModule also sends a bell character with the messages.
ExternalNotificationModule can benefit from this feature.
bool send_bell = 11;
Link copied to clipboard
abstract fun getUpdown1Enabled(): Boolean

Enable the Up/Down/Select input device. Can be RAK rotary encoder or 3 buttons. Uses the a/b/press definitions from inputbroker.
bool updown1_enabled = 8;